//
//  PhotoAnnotation.h
//  QueryClient2
//
//  Created by  thomas on 11-2-3.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
	
// types of annotations for which we will provide annotation views. 
typedef enum {
	AnnotationTypeCommentsLocation  = 0,
	AnnotationTypeDateLocation      = 1,
	AnnotationTypeDateComments      = 2
} AnnotationType;
	
@interface PhotoAnnotation : NSObject <MKAnnotation>
{
	CLLocationCoordinate2D  _coordinate;
	AnnotationType			_annotationType;
	NSString*               _title;
	NSString*               _userData;
	NSURL*                  _url;
	NSString*				_location;
	NSString*				_comments;
	NSString*				_timeString;	
}
	
-(id) initWithCoordinate:(CLLocationCoordinate2D)coordinate 
annotationType:(AnnotationType) annotationType
title:(NSString*)title
location:(NSString*)location
comments:(NSString*)comments
timeString:(NSString*)timeString;
	
@property AnnotationType annotationType;
@property (nonatomic, retain) NSString* userData;
@property (nonatomic, retain) NSURL* url;
@property (nonatomic, retain) NSString* location;
@property (nonatomic, retain) NSString* comments;
@property (nonatomic, retain) NSString* timeString;
@end
